$OpenBSD: patch-cmake_bro-plugin-create-package_sh,v 1.1 2016/12/09 13:14:02 ajacoutot Exp $

From 2266ff8f9f504e583a7f89438023965900a34601 Mon Sep 17 00:00:00 2001
From: Daniel Thayer <dnthayer@illinois.edu>
Date: Fri, 2 Dec 2016 12:08:19 -0600
Subject: [PATCH] Fix plugin build script for OpenBSD

--- cmake/bro-plugin-create-package.sh.orig	Wed Nov 16 23:53:58 2016
+++ cmake/bro-plugin-create-package.sh	Fri Dec  9 13:37:10 2016
@@ -34,6 +34,10 @@ done
 
 ln -s . ${name}
 mkdir -p dist
-tar czf dist/${tgz} -T MANIFEST
+
+flag="-T"
+test `uname` = "OpenBSD" && flag="-I"
+tar czf dist/${tgz} ${flag} MANIFEST
+
 ln -s dist/${tgz} ${name}.tgz
 rm -f ${name}
